﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepCultivation.Common.Domain.SheepFarmSetting
{
    /// <summary>
    /// 羊场设置
    /// </summary>
    public class Sheepfarm
    {
        /// <summary>
        /// 羊场id
        /// </summary>
        [Key]
        public int SheepfarmId { get; set; }
        /// <summary>
        /// 羊场全称
        /// </summary>
        public string SheepfarmName { get; set; }
        /// <summary>
        /// 羊场简称
        /// </summary>
        public string SheepfarmSimpleName { get; set; }
        /// <summary>
        /// 羊场规模id
        /// </summary>
        public int SheepfarmscaleId { get; set; }
        /// <summary>
        /// 省id
        /// </summary>
        public int ProviceId { get; set; }
        /// <summary>
        /// 市id
        /// </summary>
        public int CityId { get; set; }
        /// <summary>
        /// 县id
        /// </summary>
        public int CountyId { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string Fulladdress { get; set; }
        /// <summary>
        /// 建账日期
        /// </summary>
        public DateTime CreateBooksDate { get; set; }
        /// <summary>
        /// 羊场负责人
        /// </summary>
        public string SheepfarmHead { get; set; }
        /// <summary>
        /// 管理部门
        /// </summary>
        public int DepartmentId { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int IsOpen { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
